package com.link.base.base.projectmanage.service;

import com.link.base.base.projectmanage.dao.mybatis.mapper.CarRegBusManagerInterMapper;
import com.link.base.base.projectmanage.model.CarRegBusManagerInter;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 员工与车型登记中间表（业务经理）
 *
 * @author 刘启鑫
 * @date 2020-09-11 17:20:44
 */
@Service
public class CarRegBusManagerInterServiceImpl extends BasicServiceImpl<CarRegBusManagerInter> implements CarRegBusManagerInterService {

    @Resource
    private CarRegBusManagerInterMapper carRegBusManagerInterMapper;

    @Override
    public BasicMapper<CarRegBusManagerInter> getBasicMapper() {
        return carRegBusManagerInterMapper;
    }

    @Override
    public void deleteByCarRegId(CarRegBusManagerInter inter) {
        carRegBusManagerInterMapper.deleteByCarRegId(inter);
    }
}
